take the last 50 from array c#

72

c# get last array element -

string[] items = GetAllItems();
string lastItem = items[items.Length - 1];
int arrayLength = array.Length;

Comments

Submit
0 Comments